package service

import (
	"tansi/gin_proj/blogger/dao/db"
	"tansi/gin_proj/blogger/model"
)

// 获取所有分类

func GetAllCategoryList() (categoryList []*model.Category, err error){
	categoryList, err = db.GetAllCategoryList()
	if err != nil{
		return
	}
	return
}